﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TrendReport.aspx.cs" Inherits="client_TrendReport" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Trend Report</title>
    <link href="../styles/lytebox.css" rel="stylesheet" type="text/css" media="screen" />
    <link href="../styles/client.css" rel="stylesheet" type="text/css" />

    <script src="../javascripts/lytebox.js" type="text/javascript"></script>

</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager EnablePartialRendering="true" ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div id="content_area">
        <h2>
            Trend Report
        </h2>
        <div id="status_wrapper">
            <div class="status">
                <h3>
                    <asp:Label ID="lblSiteName" runat="server">
                    </asp:Label>
                </h3>
                <h4>
                    <asp:Label ID="MachineNameLabel" runat="server">
                    </asp:Label>
                </h4>
                <table id="selectedtable" runat="server" class="form_box1">
                    <tr>
                        <td class="label">
                                                        From the date</td>
                        <td>
                            <asp:DropDownList ID="fromDate_DropDownList" AutoPostBack="true" runat="server" 
                                OnSelectedIndexChanged="fromDate_changed" CssClass="DropDownList1">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td class="label">
                            To the date
                        </td>
                        <td>
                            <asp:UpdatePanel ID="upnl" runat="server">
                                <ContentTemplate>
                                    <asp:DropDownList ID="toDate_DropBoxList" runat="server" AutoPostBack="true" 
                                        CssClass="DropDownList1">
                                    </asp:DropDownList>
                                </ContentTemplate>
                                <Triggers>
                                    <asp:AsyncPostBackTrigger ControlID="fromDate_DropDownList" />
                                </Triggers>
                            </asp:UpdatePanel>
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                        <td>
                            <asp:Button ID="Get_Button" runat="server" Text="Get Report" 
                                OnClick="GetReport" CssClass="buttons" />
                        </td>
                    </tr>
                </table>
                <asp:Image ID="Image2" runat="server" />
                <asp:ImageMap ID="ImageMap2" OnClick="GetValue" runat="server">
                </asp:ImageMap>
                <br />
                <asp:HyperLink ID="photoHyperLink" rel="lytebox" runat="server" rev="width: 750px; height: 650px; scrolling: no;"></asp:HyperLink>
                <br />
                <asp:Button ID="btnNewEntry" runat="Server" CssClass="buttons1" OnClick="btnNewEntry_Click"
                    OnClientClick="aspnetForm.target ='_blank';" Enabled="False" 
                    Visible="False" />
            </div>
        </div>
    </div>
    </form>
</body>
</html>
